/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package eistar;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Relation</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link eistar.Relation#getSource <em>Source</em>}</li>
 *   <li>{@link eistar.Relation#getTarget <em>Target</em>}</li>
 *   <li>{@link eistar.Relation#getRelType <em>Rel Type</em>}</li>
 * </ul>
 * </p>
 *
 * @see eistar.EistarPackage#getRelation()
 * @model
 * @generated
 */
public interface Relation extends Entity {
	/**
	 * Returns the value of the '<em><b>Source</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Source</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Source</em>' reference.
	 * @see #setSource(Entity)
	 * @see eistar.EistarPackage#getRelation_Source()
	 * @model
	 * @generated
	 */
	Entity getSource();

	/**
	 * Sets the value of the '{@link eistar.Relation#getSource <em>Source</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Source</em>' reference.
	 * @see #getSource()
	 * @generated
	 */
	void setSource(Entity value);

	/**
	 * Returns the value of the '<em><b>Target</b></em>' reference list.
	 * The list contents are of type {@link eistar.Entity}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Target</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Target</em>' reference list.
	 * @see eistar.EistarPackage#getRelation_Target()
	 * @model
	 * @generated
	 */
	EList<Entity> getTarget();

	/**
	 * Returns the value of the '<em><b>Rel Type</b></em>' attribute.
	 * The literals are from the enumeration {@link eistar.RelationType}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Rel Type</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Rel Type</em>' attribute.
	 * @see eistar.RelationType
	 * @see #setRelType(RelationType)
	 * @see eistar.EistarPackage#getRelation_RelType()
	 * @model
	 * @generated
	 */
	RelationType getRelType();

	/**
	 * Sets the value of the '{@link eistar.Relation#getRelType <em>Rel Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Rel Type</em>' attribute.
	 * @see eistar.RelationType
	 * @see #getRelType()
	 * @generated
	 */
	void setRelType(RelationType value);

} // Relation
